import request from '@/utils/request';

//获取省份接口
export function getProvince(data) {
  return request({
    url: '/index/provinceInfo',
    method: 'post',
    data: data,
  });
}

//选科省份信息
export function getSelectProvince(data) {
  return request({
    url: '/index/selectProvince',
    method: 'post',
    data: data,
  });
}

// 获取年级列表
export function getClassLv(data) {
  return request({
    url: '/index/getClassLv',
    method: 'post',
    data: data,
  });
}
// 获取市区数据

export function getAreaChilds(data) {
  return request({
    url: '/index/areaChilds',
    method: 'post',
    data: data,
  });
}
